package org.example.fboot.config.jwt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtConfig {
    public String key="0123456789_0123456789_0123456789";
    //默认5分钟
    public Long tokenOutTime=300L;
}
